package com.zbj.validator.util;

/**
 * 常量类
 *
 * @author weigang
 * @create 2016-09-19
 **/
public class Constant {

    public static final String ZERO_STR = "0";

    public static final String ONE_STR = "1";

    public static final String UTF_CODING = "UTF-8";

    public static final String NULL = "null";

    public static final String COMMA_SPLIT = ",";

	/**
     * 换行
     */
    public static final String LINE_FEED = "\n";

    public static final int ZERO = 0;

    public static final int ONE = 1;

    public static final int TWO = 2;

    public static final int THREE = 3;

    public static final int FOUR = 4;

    public static final int FIVE = 5;

    public static final int SIX = 6;

    public static final int SEVEN = 7;

    public static final int TEN = 10;

    public static final int THIRTY = 30;

    public static final int ONE_HUNDRED = 100;

    public static final int ONE_THOUSAND = 1000;

    public static final int TEN_THOUSAND = 10000;

    public static final int ONE_DAY_SECONDS = Constant.ONE_HOUR_SECONDS * 24;

    public static final int ONE_HOUR_SECONDS = 60 * 60;

    /**
     * 国内手机号验证
     */
    public static final String PHONE_MAINLAND_REGEX = "^1(3[0-9]|45|47|5[0-9]|7[0-9]|8[0-9])\\d{8}$";

    /**
     * yyyy-MM-dd HH:mm:ss
     */
    public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";

}
